package com.vca.common.model.sf;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="msgDataRouting对象", description="路由查询业务数据报文")
public class MsgDataRouting implements Serializable {

    private static final long serialVersionUID = 2100109396157817794L;

    @ApiModelProperty(value = "返回描述语语言 0：中文 1：英文 2：繁体")
    private Integer language;

    @ApiModelProperty(value = "查询号类别 1:根据顺丰运单号查询,trackingNumber将被当作顺丰运单号处理 2:根据客户订单号查询,trackingNumber将被当作客户订单号处理")
    @NotBlank(message = "查询号类别不能为空")
    private Integer trackingType;

    @ApiModelProperty(value = "查询号: trackingType=1,则此值为顺丰运单号 如果trackingType=2,则此值为客户订单号")
    private List<String> trackingNumber;

    @ApiModelProperty(value = "路由查询类别:1:标准路由查询 2:定制路由查询")
    private Integer methodType;

    @ApiModelProperty(value = "参考编码(目前针对亚马逊客户,由客户传)")
    private String referenceNumber;

    @ApiModelProperty(value = "电话号码验证")
    private String checkPhoneNo;

}
